/*
 * @Description: 对象中的valueOf
 * @Date: 2022-07-22 14:18:41
 * @LastEditTime: 2022-08-03 15:33:47
 * @FilePath: /测试文档(总结)/45.js
 * @Author: byhzdemacbook-pro-2.local
 */
// let a = {
//   i: 1,
//   valueOf: function() {
//     return this.i++;
//   },
// };
// console.log(a);
// console.log(a == 1 && a == 2 && a == 3);  //true
var msg = 'hello';
for (var i = 0; i < 10; i++)(
var msg = 'hello' + i * 2 + i;
)
